#ifndef ADA_PARM_DATA_SET_H
#define ADA_PARM_DATA_SET_H

#include "adaptor_parm.h"


#pragma pack(1)

#if 0
struct configurable_laser_module_adaptor_paramter
{

  unsigned char can_id;
  unsigned char red_light_mode;
  unsigned char check_feature_1;
  unsigned char check_feature_2;
  unsigned char pd1_low_limit;
  unsigned char pd2_low_limit;
  unsigned char power_output_delay;
  short         t1_up_limit;
  short         t1_low_limit;
  short         t2_up_limit;
  short         t2_low_limit;
  short         t3_up_limit;
  short         t3_low_limit;
  short         t4_up_limit;
  short         t4_low_limit;
  short         envi_up_limit;
  short         envi_low_limit;
  unsigned char humidity_up_limit;



};

struct configurable_adaptor_paramter_avaliable
{
    struct power_output_adaptor_paramter power_parm;
    struct configurable_laser_module_adaptor_paramter laser_parm[5];
};

struct configurable_adaptor_paramter_all
{
    struct configurable_adaptor_paramter_avaliable avaliable;
    unsigned char rsvd[64];
};
#endif

#pragma pack()




//extern struct configurable_adaptor_paramter_all configurable_parm;

extern struct laser_adaptor_paramter configurable_parm;

extern struct laser_adaptor_paramter slave_set_parm;
extern struct master_conctrller_adaptor_paramter master_parm_set;

void adaptor_parm_data_set(void);
void fill_master_set_parm(void);
void fill_slave_set_parm(void);
void slave_adaptor_parm_data_load(void);




#endif // ADA_PARM_DATA_SET_H
